package com.ruoyi.jksd.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员-订单对象 xy_convey
 * 
 * @author ruoyi
 * @date 2024-05-26
 */
public class XyConvey extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String id;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long uid;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal num;

    /** 下单时间 */
    @Excel(name = "下单时间")
    private Long addtime;

    /** 完成交易时间 */
    @Excel(name = "完成交易时间")
    private Long endtime;

    /** 订单状态 0待付款 1交易完成 2用户取消  3强制完成 4强制取消  5交易冻结 */
    @Excel(name = "订单状态 0待付款 1交易完成 2用户取消  3强制完成 4强制取消  5交易冻结")
    private Long status;

    /** 佣金 */
    @Excel(name = "佣金")
    private BigDecimal commission;

    /** 佣金发放状态 0未发放 1已发放 2账号冻结 */
    private Long cStatus;

    /** 收货地址 */
    private Long addId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal goodsPrice;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long goodsCount;

    /** $column.columnComment */
    private Long hid;

    /** $column.columnComment */
    private Long san;

    /** $column.columnComment */
    private Long qiang;

    /** $column.columnComment */
    private Long liandanno;

    /** $column.columnComment */
    private Long isliandan;

    /** $column.columnComment */
    private String lid;

    /** $column.columnComment */
    private Long lno;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setAddtime(Long addtime) 
    {
        this.addtime = addtime;
    }

    public Long getAddtime() 
    {
        return addtime;
    }
    public void setEndtime(Long endtime) 
    {
        this.endtime = endtime;
    }

    public Long getEndtime() 
    {
        return endtime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCommission(BigDecimal commission) 
    {
        this.commission = commission;
    }

    public BigDecimal getCommission() 
    {
        return commission;
    }
    public void setcStatus(Long cStatus) 
    {
        this.cStatus = cStatus;
    }

    public Long getcStatus() 
    {
        return cStatus;
    }
    public void setAddId(Long addId) 
    {
        this.addId = addId;
    }

    public Long getAddId() 
    {
        return addId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsPrice(BigDecimal goodsPrice) 
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice() 
    {
        return goodsPrice;
    }
    public void setGoodsCount(Long goodsCount) 
    {
        this.goodsCount = goodsCount;
    }

    public Long getGoodsCount() 
    {
        return goodsCount;
    }
    public void setHid(Long hid) 
    {
        this.hid = hid;
    }

    public Long getHid() 
    {
        return hid;
    }
    public void setSan(Long san) 
    {
        this.san = san;
    }

    public Long getSan() 
    {
        return san;
    }
    public void setQiang(Long qiang) 
    {
        this.qiang = qiang;
    }

    public Long getQiang() 
    {
        return qiang;
    }
    public void setLiandanno(Long liandanno) 
    {
        this.liandanno = liandanno;
    }

    public Long getLiandanno() 
    {
        return liandanno;
    }
    public void setIsliandan(Long isliandan) 
    {
        this.isliandan = isliandan;
    }

    public Long getIsliandan() 
    {
        return isliandan;
    }
    public void setLid(String lid) 
    {
        this.lid = lid;
    }

    public String getLid() 
    {
        return lid;
    }
    public void setLno(Long lno) 
    {
        this.lno = lno;
    }

    public Long getLno() 
    {
        return lno;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("num", getNum())
            .append("addtime", getAddtime())
            .append("endtime", getEndtime())
            .append("status", getStatus())
            .append("commission", getCommission())
            .append("cStatus", getcStatus())
            .append("addId", getAddId())
            .append("goodsId", getGoodsId())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsCount", getGoodsCount())
            .append("hid", getHid())
            .append("san", getSan())
            .append("qiang", getQiang())
            .append("liandanno", getLiandanno())
            .append("isliandan", getIsliandan())
            .append("lid", getLid())
            .append("lno", getLno())
            .toString();
    }
}
